<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Rating</title>
    <script type="text/javascript" src="../../lib/js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../../lib/js/jqueryui-1.8/js/jquery-ui-1.8.custom.min.js"></script>
    <style type="text/css">
        .outer
        {
            width: 40%;
            margin: auto;
        }
        .inner
        {
            background-color: #EFFEEF;
            border: 1px solid green;
            width: 100%;
            margin: 2px;
        }
    </style>
    <script type="text/javascript" language="javascript">

        $.fn.slideBounce = function () {
            var me = $(this);

            me.animate({ 'left': '10%', 'width': '100%', 'height': "100%" }, "fast", function () {
                me.animate({ left: '0%' });
            });
        }

        $(document).ready(function () {
            $('input[value="Add"]').bind('click', function () {
                var inner = $('<div />', {
                    'class': 'inner',
                    'text': 'Text',
                    css: {
                        'position': 'relative',
                        'display': 'block',
                        'width': "0%",
                        'height': "0px"
                    }
                });

                inner.hide();

                $('.outer').append(inner);
                inner.slideBounce();
            });
        });
    </script>
</head>
<body>
    <div class="outer">
        <input type="button" value="Add" style="margin: auto; width: 50px;" />
        <div class="inner">
            Text</div>
        <div class="inner">
            Text</div>
        <div class="inner">
            Text</div>
        <div class="inner">
            Text</div>
        <div class="inner">
            Text</div>
    </div>
</body>
</html>
